package logic.common.team.processes;

import logic.common.team.Team;
import logic.common.team.processes.TeamProcess.ProcessType;
import logic.weapons.WeaponType;

public class TeamProcessFactory {
	
	public static TeamProcess createProcess(ProcessType type, Team team, WeaponType weaponType) {
		switch(type) {
			case Drone: return new DroneProcess(team);
			case Frigate: return new FrigateProcess(team);
			case Carrier: return new CarrierProcess(team);
			case MSWeapon: return new MSWeaponProcess(team, weaponType);
		}
		return null;
	}
}